package com.noble.meether.fragment.mail.bean;

import org.json.JSONArray;
import com.noble.library.base.bean.BaseData;

import java.util.ArrayList;

/**
 * Created by Su on 2018/7/30.
 */
public class UserMessageList extends BaseData {
    private ArrayList<UserMessage> userMessageList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.userMessageList = (ArrayList<UserMessage>) getBaseDataList(jsonArray, UserMessage.class);
    }

    public ArrayList<UserMessage> getUserMessageList() {
        return userMessageList;
    }
}
